package cn.bdqn.second;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description TODO
 * @Date 2020/2/12 9:13
 * @Created by 张三三
 */
public class Demo {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app =
                new ClassPathXmlApplicationContext("applicationContext.xml");

        Student student = app.getBean(Student.class);

        System.out.println("student = " + student);





       /* Student stu = new Student();
        stu.setAge(12);
        stu.setName("zhangsan");*/



    }
}
